<%--
  Created by IntelliJ IDEA.
  User: agen
  Date: 2019/11/30
  Time: 17:55
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>登录</title>
</head>
<body>
<h1><%=request.getAttribute("msg") == null ? "欢迎光临" : request.getAttribute("msg") %>
</h1>
<form action="/day11/login" method="post">
    username:<input type="text" name="username"/><br>
    password:<input type="password" name="password"><br>
    <input type="submit" value="post方式登录">
</form>
</body>
</html>
